/**
 * @Author DengJia
 * @Date 2021/8/17 21:44
 * @Description
 */

public class Father {
    public void publicMethod() {
        System.out.println("public method");
    }

    protected void protectedMethod() {
        System.out.println("protected method");
    }

    void defaultMethod() {
        System.out.println("default method");
    }

    private void privateMethod() {
        System.out.println("private method");
    }
}
